home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0779 / sample.cmd < prev    next >
OS/2 REXX Batch file  |  1997-04-10  |  596b  |  25 lines

  1. # This is a sample login script file for I-Comm.
  2. # There are only three commands supported:
  3. #     wait      ---- wait for x seconds
  4. #     input     ---- host prompt
  5. #     output    ---- command sent by I-Comm
  6. #
  7. # To use this script file, you will need to EDIT 
  8. # the phone book entry, specify this file name
  9. # and FULL path in the "script file" field.
  10.  
  11. # Script start
  12.  
  13. # wait for a second
  14. wait 1
  15.  
  16. # if we see "login:" prompt, issue user name "icomm"
  17. input login:
  18. output icomm
  19.  
  20. # if we see "password:" prompt, issue password 
  21. input password:
  22. output xxxxxxxxx
  23.  
  24. # Script end
  25.